<div id="content">
	<div class="cl">&nbsp;</div>
	<!-- Column -->
	<div class="column">
	<a href="javascript:void(0);" alt="aboutus" onclick = "submitLink(this)" >
		<div class="service red-box">
			<h2>
				<span
					style="color: #fff; font-family: Tahoma, Geneva, sans-serif; padding-left: 20px;">
					</span>
			</h2>
			<p>
				<!--Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vulputate suscipit ipsum, sit amet adipiscing nisl imperdiet nec. Mauris iaculis egestas-->
			</p>
			<!--<a href="#" class="more">Learn more</a>-->
		</div>
	</a>
		<?php
		include 'includes/sidenavNews.php';
		?>
	</div>
	<!-- END Column -->
	<!-- Column -->
	<div class="column middle-col">
	<a href="javascript:void(0);" alt="services" onclick = "submitLink(this)" >
		<div class="service orange-box">
			<h2>
				<span
					style="color: #fff; font-family: Tahoma, Geneva, sans-serif; padding-left: 20px;">
					 </span>
			</h2>
			<p>
				<!--Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vulputate suscipit ipsum, sit amet adipiscing nisl imperdiet nec. Mauris iaculis egestas-->
			</p>
			<!--<a href="#" class="more">Learn more</a>-->
		</div>
	</a>
		<div class="post">
			<h2>
				<span><?php
				//$about = explode("</p>",  $aboutus->content);
				echo  $aboutus->title;
				?>
				</span>
			</h2>		
			<?php
			$t = str_replace( "<br>" , "*****" , $aboutus->content);
			$t = preg_replace('/<[^<|>]+?>/', '', htmlspecialchars_decode($t));
			$t = str_replace( "&nbsp;" , " " , $t);
			$t = str_replace( "*****" , "<br>" , $t);
			$t = htmlentities($t, ENT_QUOTES, "UTF-8");
			if(strlen($t) > 750){
				echo substr(strip_tags($aboutus->content,"<p></p><div></div>") , 0, 750)."...";
				echo '<a href="javascript:void(0);" alt="'.$aboutus->name.'" onclick = "submitLink(this)" class="more">Read More</a>';
			}else
			echo $t;
			?>
		</div>
		<div class="post">
			<div class="post">
				<h2>
					<span><?php
					$service = explode("</p>",  $services->content);
					echo $services->title;
					?>
					</span>
				</h2>
				<?php
				$t = str_replace( "<br>" , "*****" , $services->content);
				$t = preg_replace('/<[^<|>]+?>/', '', htmlspecialchars_decode($t));
				$t = str_replace( "&nbsp;" , " " , $t);
				$t = str_replace( "*****" , "<br>" , $t);

				$t = htmlentities($t, ENT_QUOTES, "UTF-8");
				if(strlen($t) > 750){
					echo substr(strip_tags($services->content,"<p></p><div></div>") , 0, 750)."...";
					echo '<a href="javascript:void(0);" alt="'.$services->name.'" onclick = "submitLink(this)" class="more">Read More</a>';
				}else
				echo $t;
				?>
			</div>
		</div>
	</div>
</div>
<!-- END Column -->
<!-- Column -->
<div
	class="column">
	<a href="javascript:void(0);" alt="contactus" onclick = "submitLink(this)" >
	<div class="service green-box">
		<h2>
			<span
				style="color: #fff; font-family: Tahoma, Geneva, sans-serif; padding-left: 20px;">
				</span>
		</h2>
		<p>
			<!--Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vulputate suscipit ipsum, sit amet adipiscing nisl imperdiet nec. Mauris iaculis egestas-->
		</p>
		<!--<a href="#" class="more">Learn more</a>-->
	</div>
	</a>
	<!--<div class="post">
							<h2><span>Members Login</span></h2>
							<p><img src="/assets/css/images/contact.jpg" width="273" height="136" /></p>-->
	<!--<a href="#" class="more">Read More</a>-->
	<!--</div>-->
	<div class="post">
		<h2>
			<span><?php
			echo  $contactus->title;
			?> </span>
		</h2>
		<?php

		// $t = str_replace( "<br>" , "*****" , $contactus->content);
		$t = preg_replace('/<[^<|>]+?>/', '', htmlspecialchars_decode($t));
		$t = str_replace( "&nbsp;" , " " , $t);
		//	    $t = str_replace( "*****" , "<br>" , $t);

		$t = htmlentities($t, ENT_QUOTES, "UTF-8");
		//echo $t;
		// echo  $contact[0];
		if(strlen($t) > 750){
			echo substr(strip_tags($contactus->content,"<p></p><div></div>") , 0, 750)."...";
		}else
		echo $t;
		?>
	</div>
	<div style="margin: 10px 10px 0 0;">
		<object id="pingboxab74aa2uphg0W" type="application/x-shockwave-flash"
			data="http://wgweb.msg.yahoo.com/badge/Pingbox.swf" width="240"
			height="420">
			<param name="movie"
				value="http://wgweb.msg.yahoo.com/badge/Pingbox.swf" />
			<param name="allowScriptAccess" value="always" />
			<param name="flashvars"
				value="wid=WDQ6L9aoSHte7lUYeUgLKOklgZC43HfgYEbz5JXD" />
		</object>
	</div>


</div>
<!-- END Column -->
<div class="cl">&nbsp;</div>
</div>
<!-- END Content -->
